]> dgit.raspbian.org Git - ostree.git/commit
tests: Remove bcvk VM dispatch from Rust integration tests
authorXiaofeng Wang <henrywangxf@me.com>
Mon, 23 Mar 2026 08:55:56 +0000 (16:55 +0800)
committerXiaofeng Wang <henrywangxf@me.com>
Mon, 23 Mar 2026 08:56:12 +0000 (16:56 +0800)
commitcf36d36de805203de476e1a388647ee86f2cd5c2
treeb57aae32f40ae4fcb94e3c0760897d4e79b9b8a2
parentb0cd80d9e3d69f435f09b32523647c7db91b5d6c
tests: Remove bcvk VM dispatch from Rust integration tests

VM deployment is now handled externally by `just test-tmt` (bcvk + tmt)
or `just integration-container` (bcvk direct SSH). The Rust test binary
runs inside the VM as root, so the require_root/RunMode dispatch logic
is no longer needed.

- Remove require_root(), RunMode enum, and bcvk dispatch code
- Simplify booted_test! and privileged_test! macros to just register
  and run tests directly
- Remove rustix dependency (no longer checking getuid)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
tests/bootc-integration/Cargo.lock
tests/bootc-integration/Cargo.toml
tests/bootc-integration/src/tests/privileged.rs